﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using _52fzc.Model.PattenModel;
using _52fzc.Model;

namespace _52fzc.IBusinessObject
{
    public interface INewsBO
    {
        bool AddNews(Context c);
        bool DeleteNews(Context c);
        //查找所有新闻按时间倒序
        IList<NewsEntity> GetNews();
        //查找首页显示新闻信息
        IList<NewsEntity> GetNews(Context c);
        //查找头条新闻信息
        IList<NewsEntity> GetTopNews();
        //获得单个新闻信息
        NewsEntity GetSingleNews(Context c);
    }
}
